﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TerminationCall.Core
{
    public class Field : ICloneable
    {
        public TileField TileField { get; set; }
        public Tile ForegroundTile { get; set; }
        public Tile BackgroundTile { get; set; }

        public Field() {
            TileField = new TileField();
        }

        public object Clone() {

            Field field = new Field();

            field.TileField = (TileField)TileField.Clone();
            field.ForegroundTile = ForegroundTile;
            field.BackgroundTile = BackgroundTile;

            return field;
        }
    }
}
